<ul class="nav nav-tabs">
    <?php foreach ($args['links'] as $value):?>
    <li<?php print (isset($value['active'])?" class=\"active\"":""); ?>><a href="<?php print url($value['link']); ?>" data-toggle="tab"><?php print $value['text']; ?></a></li>
    <?php endforeach; ?>
</ul>

